//
//  ViewController.swift
//  HKYHttpRequest
//
//  Created by SHANGLU on 16/12/14.
//  Copyright © 2016年 hky.me. All rights reserved.
//

import UIKit
import RxSwift
class ViewController: UIViewController {

    let disposeBag:DisposeBag = DisposeBag()
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.

        HKYResponseProvider<HKYBaseRequestTarget>().requestJSON(HKYBaseRequestTarget()).subscribe(onNext: { (res) in
            
            }, onError: { (error) in
                
            }, onCompleted: { 
                
            }, onDisposed: nil).addDisposableTo(self.disposeBag)
        
    
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


}

